#include <rtc_base/helpers.h>
#include "ice_credentials.h"
#include "ice_def.h"


namespace xrtc {

    IceParameters IceCredentials::create_random_ice_credentials() {

        return IceParameters(rtc::CreateRandomString(ICE_UFRAG_LENGTH),rtc::CreateRandomString(ICE_PWD_LENGTH));
    }



}//namespace xrtc